package com.three.order.feign;

import com.three.core.entity.FrontUser;
import com.three.core.entity.User;
import com.three.core.vo.R;
import com.three.order.config.FeignConfig;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：JinShiYan
 * @date ：Created in 2025/3/17 15:54
 * @description：
 * @modified By：
 * @version:
 */
@FeignClient(value = "car-wash-system",configuration = FeignConfig.class)
public interface AdminUserFeign {
    @GetMapping("/system/user/getByName")
    R<User> getByName(@RequestParam String userName);
}
